package com.xiguaji.tiktok.v1.common.repository;


import com.xiguaji.tiktok.v1.common.model.DicRegion;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * BloggerMarket Dao
 */
@Repository
public interface DicRegionRepository extends CrudRepository<DicRegion,Long> {
    List<DicRegion> findByOrderByName();

    List<DicRegion> findByTypeOrderByName(int type);
}
